package fr.soat.agileconference2010.constructeurcher;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

public class DictionnaireTestable extends Dictionnaire {
  private Map<String, String> definitions = new HashMap<String, String>();

  public DictionnaireTestable(Map<String, String> definitions) throws IOException {
    this.definitions = definitions;
  }

  public String getDefinition(String mot) {
    return definitions.get(mot);
  }
  

}
